package cn.virens.database.mysql.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.SelectProvider;

import cn.virens.database.mysql.model.BaseArea;
import cn.virens.database.mysql.sql.SelectBaseArea;
import tk.mybatis.mapper.common.Mapper;

public interface BaseAreaMapper extends Mapper<BaseArea> {
	@ResultType(Map.class)
	@SelectProvider(type = SelectBaseArea.class, method = "selectForSelect2")
	List<Map<String, Object>> selectForSelect2(@Param("code") String code, @Param("name") String name);
}